<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <script src="js/swiper-4.2.6.min.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="css/swiper-4.2.6.min.css"/>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="js/public.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/font.js"></script>
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/ui.css">
    <title></title>
    <!-- 个人中心-设置 -->
    <style>
        
    </style>
</head>
<body>
<div class="scroll-content2 my-setup" style="overflow:auto;background: #F5F5F5;">
    <div class="top-public">
        <span class="public-center">设置</span>        
        <img src="images/left_icon.png" alt="" class="public-left">
    </div>
    <ul>
        <a href="my_setup_perfect.html">
            <li>信息完善</li>
        </a>
        <a href="my_setup_suggest.html">
            <li>建议反馈</li>
        </a>
        <a href="">
            <li>检查更新</li>
        </a>
        <a href="my_setup_aboutus.html">
            <li>关于我们</li>
        </a>
    </ul>
    <div class="sub-btn" onclick="cancel()">退出当前账户</div>
</div>
</body>
<script>
$('.public-left').click(function(){
    // window.history.go(-1);
    window.location.href = 'my.html';
})
$('.bot-bar li').click(function () {
    $('.bot-bar li').removeClass('active');
    $(this).addClass('active').siblings().removeClass('active');
    $(".main").eq($(this).index()).show().siblings().hide();
})
</script>

<script>
    $(function(){
        //验证是否登陆
        var user_id = sessionStorage.getItem('userId');
        if (user_id == null) {
            alert('请先登录！');
            window.location.href = 'login.html';
        }
    });

    //注销退出
    function cancel() {
        if (window.confirm('你确定要注销登录么？')){
            //alert("确定");
            sessionStorage.clear();
            localStorage.clear();
            window.location.href='http://vip.bndvip.com/api/admin/logout';
        }else{
            //alert("取消");
            return false;
        }
    }
</script>

</html> 






